<!-- 
新闻浏览模板

参数：
      parentTitle 主标题
      subTitle 副标题
      source 信息来源
      author 作者
	  keyWord 关键字
	  publishDate 时间
	  clickCount 浏览次数
	  contentBody 新闻内容主体
	 publisherName 发布人
 -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jstl/core">
	<ui:param name="pageViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compId" value="#{pageViewBean.id}" />
	<ui:param name="compTitle" value="文章显示" />
	
	<h:form>
		<h:panelGrid columns="1" width="100%" >
			<h:panelGrid columns="1" width="100%">
				<h:panelGroup>
					<p align="center"
						style="font-size: 25px; line-height: 200%; font-weight: bold; font-family: '宋体';"><h:outputText
						value="#{pageViewBean.parenttitle}" /></p>
				</h:panelGroup>

				<h:panelGroup style="text-align: center;">
					<div style="text-align: center;width:80%;"><h:outputText
						value="#{pageViewBean.subtitle}" /></div>
				</h:panelGroup>

				<h:panelGroup>
					<h:panelGrid columns="5" style="width: 100%; text-align: center;">
						<h:panelGroup>
							<h:outputText value="信息来源：" />
							<h:outputText value="#{pageViewBean.source}" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputText value="作者：" />
							<h:outputText value="#{pageViewBean.author}" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputText value="时间：" />
							<h:outputText value="#{pageViewBean.inputtime}" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputText value="关键字：" />
							<h:outputText value="#{pageViewBean.keyword}" />
						</h:panelGroup>
						
					</h:panelGrid>
				</h:panelGroup>
			</h:panelGrid>
			<div align="center" >
			   <textarea style="width:90%;height:500px;" >
			      #{pageViewBean.contentbody}
			   </textarea>
		  	</div>	
			<h:panelGrid columns="1" style="width: 100%; text-align: right;">
				<h:panelGroup>
					<div style="text-align: center;"><h:outputText value="发布人：" /><h:outputText
						value="#{pageViewBean.inputpsn}" /></div>
				</h:panelGroup>

			</h:panelGrid>
		</h:panelGrid>
	</h:form>
</ui:composition>